projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2420c7
)
[GtkSizeGroup] don't recurse into yourself
author
Davyd Madeley
<davyd@madeley.id.au>
Mon, 24 Aug 2009 05:41:37 +0000
(15:41 +1000)
committer
Davyd Madeley
<davyd@madeley.id.au>
Sun, 30 Aug 2009 00:47:52 +0000
(10:47 +1000)
gtk/gtksizegroup.c
patch
|
blob
|
history
diff --git
a/gtk/gtksizegroup.c
b/gtk/gtksizegroup.c
index 5926b52557c7a9232c72c33ee216472c38db7273..6cd02c0e2e58addcbc82f58f2e24cf04fd62aea9 100644
(file)
--- a/
gtk/gtksizegroup.c
+++ b/
gtk/gtksizegroup.c
@@
-223,6
+223,10
@@
queue_resize_on_widget (GtkWidget *widget,
if (widget == parent)
real_queue_resize (parent);
}
+ else if (tmp_list->data == widget)
+ {
+ g_warning ("A container and its child are part of this SizeGroup");
+ }
else
queue_resize_on_widget (tmp_list->data, FALSE);
@@
-249,6
+253,10
@@
queue_resize_on_widget (GtkWidget *widget,
if (widget == parent)
real_queue_resize (parent);
}
+ else if (tmp_list->data == widget)
+ {
+ g_warning ("A container and its child are part of this SizeGroup");
+ }
else
queue_resize_on_widget (tmp_list->data, FALSE);